package com.lagou.sqlSession;

import com.lagou.connect.TransactionIsolationLevel;
import com.lagou.pojo.Configuration;

public interface SqlSessionFactory {

    public SqlSession openSession();


    SqlSession openSession(boolean autoCommit);

    SqlSession openSession(TransactionIsolationLevel level, boolean autoCommit);

    Configuration getConfiguration();
}
